package per.yuan.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;


@RestController
@RequestMapping("/consumer")
public class ProviderController {








    //有问题
//    @Autowired
//    per.yuan.openfeign.ServiceDemo serviceDemo;

    /*@GetMapping("/echo1")
    public String echo1(){
        return serviceDemo.echo1();
    }

    @GetMapping("/echo2")
    public String echo2(){
        return serviceDemo.echo2();
    }@GetMapping("/echo3")
    public String echo3(){
        return serviceDemo.echo3();
    }public String echo(){
        return serviceDemo.echo();
    }*/
}
